package Thread2;

public class PingFangThread extends Thread {
    private int num;

    public PingFangThread(int num) {
        this.num = num;
    }

    @Override
    public void run() {
        int i = num * num;
        System.out.println(num + "平方" + i);
    }
}
